home *** CD-ROM | disk | FTP | other *** search
/ El Mac 8 / El Mac 8.iso / Shareware / Utilities / Splitter 4.0.1 / About Splitter next >
Encoding:
Text File  |  1996-02-15  |  5.4 KB  |  58 lines  |  [TEXT/ttxt]

  1. About Splitter 4.0.1
  2.  
  3.   Ok, so there's this nice UNIX utility that allows you to split a file up into as many parts as you would like.  Does the Macintosh have a similar function?  Nope.  Did someone else realize that people do occasionally need to split (text) files up into chunks on a Macintosh?  As far as I can tell, nope.  (Well, I later found out you can do it in MPW, but only tweaks like me have MPW…)
  4.  
  5.   Well, my winter semester just ended and I was uploading BinHex files to my UNIX account to send out to the world, when I found out that my mainframe doesn't like to receive files larger than 500K or so.  So what do I do?
  6.  
  7.   I decided to see how long it would take to write such a program.  The answer : a little over 6 hours.  Not bad for 4K of code.  (Note:  That was v1.0.  I have now spent way too much time on this hack!)
  8.  
  9.   What you now have is a program that will split files into whatever size segements you want, or it can fill disks with segments.  Now watch out - Splitter will split anything with a data fork, and it treats everything as a text file, so don't split a MacWrite document and expect the segment files to be MacWrite documents themselves.  If the file has a resource fork, Splitter ignores it.  (Design note : I couldn't think of a "good" way to organize the splitting of resource forks, so I ignore them.  Hey - I never wanted anything more than a text file splitter.)  Again, Splitter treats everything as a text file, so if you want to split a MacWrite, Word, or WhateverWrite document, don't use Splitter unless you want two halves that aren't whole by themselves.
  10.  
  11.   When you run Splitter by clicking on it, it will first give you a standard get file dialog.  Next you will be asked if you want to split the file into a segment size specified by you or to fill disks with segments.  Lastly, you will be given a save dialog.  It will then split the selected file.
  12.   In the save dialog box, the suggested segment name will be the original filename with the segment number appended.  ("Report" splits into "Report1", "Report2", ...)  However, you can change this to whatever you like.
  13.   If you click on "Save All", all the segments will be saved in the same place as the first segment.  If a duplicate filename is found during Save All, the operation will be halted.  If you wish to overwrite a file, just use "Save", which will allow you to choose the filename and destination of every segment, along with overwriting existing files.  You don't have the "Save All" option when filling disks, for obvious reasons.
  14.  
  15.   If you drop any number of files on Splitter's icon in the Finder, it will process each, popping up the various dialogs to ask you for segment size and destinations.
  16.  
  17.   Starting with version 4.0, Splitter REQUIRES System 7.0 or greater.  This is due to the fact that I'm using the latest compilers, and they don't support the System 6 way of handling files dropped on the mfrom the Finder.  (For a good story, send me email and ask me what my real motivation was…)  Oh well, if you're still using System 6.0, just use Splitter 3.0 - version 4.0 doesn't add any features that you'll really miss.  (The only difference, other than 4.0 being menu/apple-event driven is that 4.0 will use temporary memory (when it can) to speed things up.)
  18.  
  19.   Splitter is freeware.  All I ask is that if you distribute it, be sure to include this file, for the actual program has no help in it.
  20.  
  21.   Splitter was tested on a Quadra 700, a Powerbook 540, and a Power Macintosh 8100/100, so you shouldn't have any trouble with it.
  22.  
  23.   If you do run into any trouble or if you'd like to drop me a suggestion (which I am certainly open to), please contact me at:
  24.  
  25.           taggart@scopus.com  (the work account)
  26.                   or
  27.           jtaggart@netcom.com  (the "home" account)
  28.  
  29.   Have fun and I hope you find Splitter useful!
  30.  
  31. Taggart Gorman
  32. 8/30/95
  33.  
  34. Revision History
  35.  
  36. v4.0.1
  37.  
  38. Splitter 4.0 was managling the first few "lines" of each output file, except for the first file.  (How did I miss that?)  Error dialogs would occasionally come up with garbage at the end of the error string.  Made Splitter try it's best to make sure that output files were the size they were supposed to be.  Improved the routine that guesses at the best size for each output file.
  39.  
  40. v4.0
  41.  
  42. Switched compilers and fought with Apple's Universal Header files.  Added event driven program flow, instead of Splitter quitting when it was done processing files.  Added the ability to accept the three relevant required core Apple Events.  Added code to copy data in larger chunks when memory is available (Splitter will use "temporary" (used to be known as "MultiFinder") memory if needed).  Oh yeah, created a new icon that tries to portray a better idea of what Splitter does.
  43.  
  44. v3.0
  45.  
  46. Added the ability to fill volumes with segments and put in safeguards to keep users from creating segments on full volumes.  (You should have seen what it did before I put in the safeguards.  Ouch!)  Fixed some more spelling errors.
  47.  
  48. v2.0.1 (not released)
  49.  
  50. Fixed three stupid spelling errors.  Thanks to Charles Hoffman who pointed out the spelling mistake that prevented my wonderful icon for Splitter from showing up.
  51.  
  52. v2.0
  53.  
  54. Ah, Winter Break!  Time to catch up on everything I have been meaning to do!  I added some sensible features, like the ability to name the segments, and the ability to handle a disk full error.  Hope this makes Splitter more of a program, instead of a temporary hack.
  55.  
  56. v1.0
  57.  
  58. Intial version.  A quick hack.